package com.yehun.dao;

import com.yehun.entity.Category;

import java.util.List;

public interface CategoryDao {

    List<Category> listAll();

    List<Category> listFirst();

    List<Category> listNavShow();

    List<Category> listChilds(int id);

    Category get(int id);

    int save(Category category);

    int update(Category category);

    int removeLogical(int[] idArray);

    int removePhysics(int[] idArray);
}
